home *** CD-ROM | disk | FTP | other *** search
- From: cgs@umd5.umd.edu (Chris Sylvain)
- Newsgroups: comp.binaries.ibm.pc
- Subject: memlist, show MS-DOS memory allocation information
- Date: 20 Sep 88 23:00:17 GMT
- Keywords: MEMLIST, PCResource
- Summary: memlist.arc, show MS-DOS memory allocation information
- Approved: dhesi@bsu-cs.UUCP
-
- This program unravels MS-DOS's (on most machines, Versions 2.0 up to
- 3.3) memory control blocks (MCBs) and prints the information it finds.
- If run under MS-DOS 3.0 or later, it will also print the name it can
- find for each program in memory. The commenting and wording of
- printing messages have been changed in a number of places.
-
- MS-DOS allocates blocks in 16-byte paragraphs, so multiply the block
- size reported by the program by 16 to determine the block length in
- bytes.
-
- Microsoft has never officially documented how MSDOS allocates memory,
- so much of this program is based on techniques others have discovered.
-
- Written for MASM 5.0 by Hardin Brothers for PCResource. The original
- appeared in the July 1988 issue of their magazine. Entire contents of
- the July 1988 issue, Copyright 1988 by IDG Communications/Peterborough,
- Inc.
-
- Chris Sylvain
- ARPA: cgs@umd5.UMD.EDU BITNET: cgs%umd5@umd2
- UUCP: ..!uunet!umd5.umd.edu!cgs
-
- [
- The executable and assembly source are included.
-
- Memlist works very nicely, and gives a nice clean display of what is in
- memory.
-
- Since this program was published in PC Resource magazine, and typed by
- Chris Sylvain from the printed listing, I suggested that he investigate
- the magazine's copyright policy. He explained Usenet to the magazine,
- and here is a slightly edited summary of what he told me:
-
- "1. If the code is obtained from the Clone Phone BBS, then
- it is OK to distribute for free.
-
- "2. Since I typed it in from the pages of the magazine, it is
- essentially OK to distribute for free as long as it is
- attributed to the magazine.
-
- "I asked him if it was the spirit of proper attribution that was
- most essential, and he assented. They have my name and phone
- number, and I described very briefly to him what is USENET.
-
- "So it sounds to me that you may post MEMLIST with permission, and
- the other things that I have from the magazine will be OK to post
- as well."
-
- PC Resource readers readers should therefore feel free to submit good
- programs obtained from the magazine, with proper credit to the source.
-
- -- R.D.
- ]
-